package com.marver.beans.request;

import javax.validation.constraints.NotNull;

/**
 * @description: 登录请求参数
 * @Author: Marver
 * @date: 2018-04-18 15:52
 **/
public class LoginReq {
    @NotNull
    private String userNum;
    @NotNull
    private String password;
    //验证码 编码
    @NotNull
    private String captchaCode;
    //验证码
    @NotNull
    private String captchaValue;
    private long expiresTime=0;//有效时间，单位秒

    public String getUserNum() {
        return userNum;
    }

    public void setUserNum(String userNum) {
        this.userNum = userNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCaptchaCode() {
        return captchaCode;
    }

    public void setCaptchaCode(String captchaCode) {
        this.captchaCode = captchaCode;
    }

    public String getCaptchaValue() {
        return captchaValue;
    }

    public void setCaptchaValue(String captchaValue) {
        this.captchaValue = captchaValue;
    }

    public long getExpiresTime() {
        return expiresTime;
    }

    public void setExpiresTime(long expiresTime) {
        this.expiresTime = expiresTime;
    }
}
